package com.ruyuan.eshop.product.api;

import com.ruyuan.eshop.common.core.JsonResult;
import com.ruyuan.eshop.product.domain.dto.ProductSkuDTO;
import com.ruyuan.eshop.product.domain.query.GetProductSkuQuery;
import com.ruyuan.eshop.product.domain.query.ListProductSkuQuery;

import java.util.List;

/**
 * 儒猿课堂: http://www.ruyuan2020.com
 * @Author zhonghuashishan
 * @Remark 有问题直接联系客服VX: ruyuan-1111 ，源码-笔记-技术交流群
 * @Version 1.0
 **/
public interface ProductApi {

    /**
     * 查询商品SKU详情
     *
     * @param productSkuQuery
     * @return
     */
    JsonResult<ProductSkuDTO> getProductSku(GetProductSkuQuery productSkuQuery);

    /**
     * 批量查询商品SKU详情
     *
     * @param productSkuQuery
     * @return
     */
    JsonResult<List<ProductSkuDTO>> listProductSku(ListProductSkuQuery productSkuQuery);

}